﻿@implements IDialogContentComponent<SimplePerson>

<FluentDialogBody>
    <h3>Hello @Content.Firstname </h3>
    <p>Your lastname is @Content.Lastname and you are @Content.Age years young </p>

    <FluentTextField @bind-Value="@Content.Firstname">Your firstname:</FluentTextField>
    <FluentTextField @bind-Value="@Content.Lastname">Your lastname:</FluentTextField>
    <FluentNumberField @bind-Value="@Content.Age">Your age:</FluentNumberField>
</FluentDialogBody>

@code {
    [Parameter]
    public SimplePerson Content { get; set; } = default!;
}